void eventDisplay()
{
    //-----User Settings:-----------------------------------------------
    TString InputFile = "test.root";
    TString ParFile = "params.root";
    TString OutFile = "tst.root";

    // -----   Reconstruction run   -------------------------------------------
    FairRunAna *fRun = new FairRunAna();
    FairFileSource *fFileSource = new FairFileSource(InputFile);
    fRun->SetSource(fFileSource);
    fRun->SetSink(new FairRootFileSink(OutFile.Data()));

    FairRuntimeDb *rtdb = fRun->GetRuntimeDb();
    FairParRootFileIo *parInput1 = new FairParRootFileIo();
    parInput1->open(ParFile.Data());
    rtdb->setFirstInput(parInput1);

    FairEventManager *fMan = new FairEventManager();

    //----------------------Traks and points -------------------------------------
    // FairMCTracksDraw *Track = new FairMCTracksDraw();
    FairGeoTracksDraw *Track = new FairGeoTracksDraw();
    FairMCPointDraw *Music1Point = new FairMCPointDraw("HiMusicF4Point", kRed, kFullSquare);
    FairMCPointDraw *Music2Point = new FairMCPointDraw("HiMusicF6Point", kBlue, kFullSquare);

    //  FairMCPointDraw *TorinoDetectorPoints = new FairMCPointDraw("FairTestDetectorPoint", kRed, kFullSquare);

    fMan->AddTask(Track);
    fMan->AddTask(Music1Point);
    fMan->AddTask(Music2Point);
    //  fMan->AddTask(TorinoDetectorPoints);

    fMan->Init();
}
